<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	request.setCharacterEncoding("UTF-8");
%>
<html>
	<head>
		<title>组织结构树</title>
					<link rel="stylesheet" href="<%=path%>/webmanager/dtree/dtree.css"
			type="text/css"></link>
		<script type="text/javascript"
			src="<%=path%>/webmanager/dtree/dtree.js"></script>
	</head>
		  <style type="text/css">
<!--
body {
	margin-left: 10px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	height:100%;
}
-->
</style>
	<body>
  <table border="0" width="150" cellpadding="0" cellspacing="0">
    <tr >
  <td height="5">
  </td>
  </tr>
  <tr >
  <td width="150">
<div id="bmtree" class="dtree" style="left: 20px;">
<script type="text/javascript">
dtree = new dTree('dtree');
<s:iterator  value="treeList" status="index">
<s:if test="${ccs==1}">
dtree.add('<s:property  value="bmbh"/>','-1','<s:property  value="bmmc"/>','listRyjbxx.do?urlFlag=selRy&bmbh=<s:property  value="bmbh"/>&actionId=<s:property  value="actionId"/>','','flright');
</s:if>
<s:else>
dtree.add('<s:property  value="bmbh"/>','<s:property  value="sjbmbh"/>','<s:property  value="bmmc"/>','listRyjbxx.do?urlFlag=selRy&bmbh=<s:property  value="bmbh"/>&actionId=<s:property  value="actionId"/>','','flright');
</s:else>
</s:iterator>
document.write(dtree);
</script>
</div>
  </td>
  </tr>
  </table>
	</body>
</html>
